﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Earworm.Web.Registration.Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">

    <table style="width: 100%;">
    <tr>
        <td width="25%">
            </td>
        <td width="43%">
         
                <table style="width:100%;">
                    <tr>
                        <td align="center" colspan="2">
                            <asp:Label ID="lblIntro" runat="server" 
                                Text="Welcome to the Earworm player. "></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="email" runat="server" Text="Email:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvEmail" runat="server" 
                                ControlToValidate="txtEmail" ErrorMessage="No Email entered" 
                                ForeColor="Red">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblPassword" runat="server" Text="Password:"></asp:Label>
                        </td>
                        <td>
                            <asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvPassword" runat="server" 
                                ControlToValidate="txtPassword" ErrorMessage="Must enter a password." 
                                ForeColor="Red">*</asp:RequiredFieldValidator>
                         
                            </td>
                    </tr>
                    <tr>
                        <td >
                            &nbsp;</td>
                        <td >
                            <asp:Button ID="btnLogin" runat="server" Text="Login" 
                                onclick="btnLogin_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td >
                            &nbsp;</td>
                        <td >
                            <asp:LinkButton ID="lbNewUser" runat="server" ForeColor="#FFFF66" 
                                PostBackUrl="~/Registration/RegisterUser.aspx" CausesValidation="False">Create New Account</asp:LinkButton>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:LinkButton ID="bForgotPassword" runat="server" CausesValidation="False" 
                                ForeColor="#FFFF66" PostBackUrl="~/Registration/ForgotPassword.aspx">Forgot Password</asp:LinkButton>
                        </td>
                    </tr>
                </table>

        </td>
        <td width="33%">
            <asp:ValidationSummary ID="vsLogin" runat="server" ForeColor="Red" 
                Height="124px" Width="262px" />
        </td>
    </tr>
</table>

</asp:Content>


